package ua.kharkov.knure.pereverziev.diploma.web.tag;

import ua.kharkov.knure.pereverziev.diploma.i18n.RManager;

/**
 * Contains i18n function support.
 * 
 * @author A.Pereverziev
 * 
 */
public class Functions {

	/**
	 * Returns localized property value with the given key.
	 * 
	 * @param key
	 *            The property key.
	 * @param localeName
	 *            The name of the locale.
	 * @return Value of the property in the given locale.
	 */
	public static String getProperty(String key, String localeName) {
		return RManager.getProperty(key, localeName);
	}

}
